package com.lizemin.service.impl;

import com.lizemin.annotations.DataScope;
import com.lizemin.entity.BaseEntity;
import com.lizemin.entity.Student;
import com.lizemin.mapper.StudentMapper;
import com.lizemin.service.IStudentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 学生表 服务实现类
 * </p>
 *
 * @author lizemin
 * @since 2025-03-23
 */
@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements IStudentService {

    @Override
    @DataScope
    public List<Student> getStudents(BaseEntity reqParam) {
        return baseMapper.getStudents(reqParam);
    }

}
